/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2024-2024. All rights reserved.
 * Description:
 * Author: l30050806
 * Create: 2024-12-27
 */

#include "transport_mem.h"
#include "log.h"
#include "network_manager_pub.h"

namespace hccl {
TransportMem::TransportMem(const std::unique_ptr<NotifyPool> &notifyPool, const HcclNetDevCtx &netDevCtx,
    const HcclDispatcher &dispatcher, u32 localRankId, u32 remoteRankId)
    : notifyPool_(notifyPool), netDevCtx_(static_cast<hccl::NetDevContext *>(netDevCtx)),
      dispatcher_(reinterpret_cast<DispatcherPub *>(dispatcher)), localRankId_(localRankId),
      remoteRankId_(remoteRankId)
{}

TransportMem::~TransportMem()
{}

}  // namespace hccl
